package cn.edu.pku.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.pku.entity.Borrower;

public interface BorrowerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Borrower record);

    int insertSelective(Borrower record);

    Borrower selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Borrower record);

    int updateByPrimaryKey(Borrower record);
    
//    List<Borrower> getBorrowerList(@Param("pageNow") Integer pageNow,@Param("pageSize") Integer pageSize,@Param("borrowerName") String borrowerName);
    List<Borrower> getBorrowerList(@Param("borrowerName") String borrowerName);
    
    
}